Collection Type Constructors in Entity-Relationship Modeling
نویسندگان
چکیده
Collections play an important part in everyday life. Therefore, conceptual data models should support collection types to make data modeling as natural as possible for its users. Based on the fundamental properties of endorsing order and multiplicity of its elements we introduce the collection types of rankings, lists, sets and bags into the framework of Entity-Relationship modeling. This provides users with easy-to-use constructors that naturally model different kinds of collections. Moreover, we propose a transformation of extended ER schemata into relational database schemata. The transformation is intuitive and invertable introducing surrogate attributes that preserve the semantics of the collection. Furthermore, it is a proper extension to previous transformations, and results in a relational database schema that is in Inclusion Dependency Normal Form. In addition, we introduce a uniqueness constraint that identifies collections uniquely and guarantees referential integrity at the same time.
منابع مشابه
Extended Entity-Relationship Model
DEFINITION The extended entity-relationship (EER) model is a language for definition of structuring (and functionality) of database or information systems. It uses inductive development of structuring. Basic attributes are assigned to base data types. Complex attributes can be constructed by applying constructors such as tuple, list or set constructors to attributes that have already been const...
متن کاملCoInduction in Coq
When providing a collection of constructors to define an inductive type, we actually also define a dual operation: a destructor. This destructor is always defined using the same structure of pattern-matching, so that we have a tendency to forget that we do extend the “pattern-matching” capability with a new destructor at each definition. Constructors and destructors play a dual role in the defi...
متن کاملMetamodeling the Enhanced Entity-Relationship Model
A metamodel provides an abstract syntax to distinguish between valid and invalid models. That is, a metamodel is as useful for a modeling language as a grammar is for a programming language. In this context, although the Enhanced Entity-Relationship (EER) Model is the ”de facto” standard modeling language for database conceptual design, to the best of our knowledge, there are only two proposals...
متن کاملAn Extension to ER Model for Top-Down Semantic Modeling of Databases of Applications
An extension to ER (Entity Relationship) model for semantic modeling of databases in top down manner is presented. The model proposes a new entity type called composite entity type and a table based meta construct called tabletype relationship. A composite entity type models composite entities, whereas a tabletype relationship is shorthand and represents a number of relationship types. The conc...
متن کاملDatabase Design Language Incorporating Collection Types for Web Database Applications
As the most widely used data model, the relational data model has undergone extensions since it was first introduced. The motivation is mainly to increase the ability in capturing complex real world problems. The new era of Internet databases, which includes document meta-data repository and multi media databases have raised a need for more complex semantics of data modeling. Thus, the existing...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007